﻿/**
 *    Copyright 2006 - 2011 Opera Software ASA
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 *
 **/


// created with hob 

status_map = {
    0: "OK",
    1: "Conflict",
    2: "Unsupported Type",
    3: "Bad Request",
    4: "Internal Error",
    5: "Command Not Found",
    6: "Service Not Found",
    7: "Out Of Memory",
    8: "Service Not Enabled",
    9: "Service Already Enabled",
    }

format_type_map = {
    0: "protocol-buffer",
    1: "json",
    2: "xml"
    }

message_type_map = {
    1: "command", 
    2: "response", 
    3: "event", 
    4: "error"
    }

package_map = {
  "com.opera.stp": {
    "Error":
    [
            {
                "name": "description",
                "type": 14,
                "q": "optional",
            },
            {
                "name": "line",
                "type": 1,
                "q": "optional",
            },
            {
                "name": "column",
                "type": 1,
                "q": "optional",
            },
            {
                "name": "offset",
                "type": 1,
                "q": "optional",
            },
        ],

  },
}

window.message_maps || (window.message_maps = {});
